﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Test.DAL;
using Test.Model;

namespace Test.BLL
{
   public class StuInfoBLL
    {
        StuInfoDAL dal = new StuInfoDAL();
        public  List<StuInfo> Select(string name = "")
        {
            return dal.Select(name);
        }

        public  StuInfo Select(int id)
        {
            return dal.Single(id);
        }

        public  int Delete(StuInfo info)
        {
            return dal.Delete(info);
        }

        public  int Update(StuInfo info)
        {
            return dal.Update(info);
        }

        public  int Insert(StuInfo info)
        {
            return dal.Insert(info);
        }
    }
}
